package com.shejimoshi;

import com.shejimoshi.AbstaractFactoy.AbstractFactory;
import com.shejimoshi.Shape_Demo.Shape;
import com.shejimoshi.getAbstarctFactoy.Pro;

public class Test1 {
    public static void main(String[] args) {
        AbstractFactory shape = Pro.getAbstaractFactory("shape");

        Shape circle = shape.getShape("circle");
        circle.draw();
    }
}
